const router = [
  {
    // 领导看纪实
    path: '/leaderboard',
    name: 'LeaderBoard',
    component: () => import('@/views/boardNew/LeaderBoard.vue'),
    meta: {
      deepth: 1,
      keepAlive: true, //需要被缓存
    },
  },
  {
    //纪实本
    path: '/board',
    name: 'Board',
    component: () => import('@/views/boardNew/Board.vue'),
    meta: {
      deepth: 2,
      keepAlive: true,
    },
  },
  {
    //周纪实-新版
    path: '/writeboard',
    name: 'weekBoard',
    component: () => import('@/views/boardNew/WeekBoard.vue'),
    meta: {
      title: '周纪实',
      deepth: 3,
      keepAlive: true,
    },
  },
  {
    //月小结-新版
    path: '/monthlySummary',
    name: 'monthBoard',
    component: () => import('@/views/boardNew/MonthBoard.vue'),
    meta: {
      title: '月小结',
      deepth: 3,
      keepAlive: true,
    },
  },
  {
    //季度总结-新版
    path: '/selfass',
    name: 'QuarterlyBoard',
    component: () => import('@/views/boardNew/QuarterlyBoard.vue'),
    meta: {
      title: '季度总结',
      deepth: 3,
      keepAlive: true,
    },
  },

  {
    //纪实详情-新版
    path: '/boarddetail',
    name: 'weekdetail',
    component: () => import('@/views/boardNew/weekDetail.vue'),
    meta: {
      title: '纪实详情',
      deepth: 4,
    },
  },
  {
    //操作示例
    path: '/boardOperate',
    name: 'boardOperate',
    component: () => import('@/views/boardNew/BoardOperate.vue'),
    meta: {
      title: '操作示例',
      deepth: 4,
    },
  },
  //纪实回复
  {
    path: '/documentaryReply',
    name: 'documentaryReply',
    component: () => import('@/views/notice/documentaryReply.vue'),
  },
  //纪实回复详情
  {
    path: '/replyDetail',
    name: 'replyDetail',
    component: () => import('@/views/notice/replyDetail.vue'),
  },
  // 年度总结
  {
    path: '/yearSummary',
    name: 'yearSummary',
    component: () => import('@/views/boardNew/YearBoardPage.vue'),
    meta: {
      deepth: 3,
    },
  },
]
export default router
